// test.js 仅做示例: 通过GET请求返回一个名字数组
export default [
  {
    url: "/member/info/query",
    method: "post",
    response: () => {
      return {
        code: 200,
        message: "ok",
        data: [
          {
            path: "/demoindex",
            name: "demoindex",
            title: "测试所有功能",
            component: "demo/index",
          },
          {
            path: "/stock",
            name: "stock",
            title: "在库管理",
            children: [
              {
                path: "/stocklist",
                name: "stocklist",
                title: "在库管理",
                component: "stock/list/index",
              },
            ],
          },
        ],
      };
    },
  },
];
